package pe.com.ValoracionVivienda.service.interfaces;

import java.util.List;

import javax.persistence.EntityTransaction;

public interface GenericService<K, E> {
	E persist(E entity);
	void remove(E entity);
	E findById(K id);
	E update(E t);
	List<E> findAll();
	
	EntityTransaction getTransaction();
	void close();
}
